package com.aramis.mydytt.ui.search.adapter

import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import com.aramis.mydytt.R
import com.aramis.mydytt.ui.bean.MovieItemBean

/**
 * Description: MovieFieldAdapter
 * @author lizhidan
 * Created: 2021/4/8
 */
class MovieFieldAdapter : RecyclerView.Adapter<MovieFieldAdapter.ViewHolder>() {
    private val dataList = mutableListOf<MovieItemBean>()

    override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {
        val view = LayoutInflater.from(parent.context).inflate(R.layout.item_main_recommend, null)
        return ViewHolder(view)
    }

    override fun onBindViewHolder(holder: ViewHolder, position: Int) {
    }

    override fun getItemCount(): Int = dataList.size

    inner class ViewHolder(view: View) : RecyclerView.ViewHolder(view) {

    }
}